
#include"Log.hpp"
using namespace LogModule;


int main()
{

    ENABLE_CONSOLE_LOG(); //输出到控制台
    LOG(LogLevel::DEBUG) << "hello world " << 3.14 ;
    LOG(LogLevel::DEBUG) << "hello world " << 3.14 ;

    ENABLE_FILE_LOG(); //输出到文件
    LOG(LogLevel::DEBUG) << "hello world " << 3.14 ;
    LOG(LogLevel::DEBUG) << "hello world " << 3.14 ;

    return 0;
}